package com.lenovo.testreport.qa.web.compatibility.service;


import com.lenovo.testreport.qa.web.compatibility.model.QaWebCompatibilityCase;

import java.util.List;

/**
 * @author CJF
 * @date 2018/11
 */
public interface QaWebCompatibilityCaseService {
    List<QaWebCompatibilityCase> findByRid(String tablename, int rid);

    List<QaWebCompatibilityCase> findByCid(String tablename, int id);

    int addCase(String online_web_smoke_case, QaWebCompatibilityCase cases);

    int modifycase(String tablename, QaWebCompatibilityCase qaWebCompatibilityCase);

    List<QaWebCompatibilityCase> findBrowserByRid(String tablename, int id);

    List<QaWebCompatibilityCase> findByRidAndType(String tablename, int id, String type);
}
